package jsyf.oa.entity.wreport;

import com.alibaba.fastjson.JSONObject;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author: @张巨波 @zhangjubo
 * @creat: on 2017/11/28.
 * @since: V1.0.0
 * @see jsyf.oa.web
 */
@Entity
@Table(name = "T_WRT_VIE", schema = "oa", catalog = "")
public class WReportVieEntity  implements Serializable {
    private String id;
    private String wId;
    private String vieFlag;
    private String remark;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getwId() {
        return wId;
    }

    public void setwId(String wId) {
        this.wId = wId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getVieFlag() {
        return vieFlag;
    }

    public void setVieFlag(String vieFlag) {
        this.vieFlag = vieFlag;
    }

    public JSONObject getJSONObject(){
        JSONObject obj = new JSONObject();

        obj.put("id",getId());
        obj.put("w_id",getwId());
        obj.put("vie_flag",getVieFlag());
        obj.put("remark",getRemark());
        return  obj;
    }
}
